package com.wbt.test;

public class Father {
    private String name;

    Father(){
    }

    Father(String name){
        this.name=name;
    }

    public void speak(){
        System.out.println("--父类的方法--");
    }

    public void call(){
        speak();
    }
}
